
/**
 * Date:2019年6月6日下午2:00:15
 * Copyright (c) 2019, www.bwbroad.com All Rights Reserved.
 *
*/

package com.xue.im.common.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * Description: TODO <br/>
 * Date: 2019年6月6日 下午2:00:15 <br/>
 * 
 * @author xuejianxin
 */
public class UserMessage implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String owner;// 消息拥有者
	private String owner_name;// 消息拥有者名称
	private String other;// 对方
	private String other_name;// 对方名称
	private String flag;// R 接收,S 发送
	private String status;// 0 失败,1 成功
	private Date create_time;// 创建时间
	private String msg_type;// 消息类型T 文本,F 文件,I 图片
	private String content;// 内容100w字符

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public String getOwner_name() {
		return owner_name;
	}

	public void setOwner_name(String owner_name) {
		this.owner_name = owner_name;
	}

	public String getOther() {
		return other;
	}

	public void setOther(String other) {
		this.other = other;
	}

	public String getOther_name() {
		return other_name;
	}

	public void setOther_name(String other_name) {
		this.other_name = other_name;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public String getMsg_type() {
		return msg_type;
	}

	public void setMsg_type(String msg_type) {
		this.msg_type = msg_type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return String.format(
				"UserMessage [owner=%s, owner_name=%s, other=%s, other_name=%s, flag=%s, status=%s, create_time=%s, msg_type=%s, content=%s]",
				owner, owner_name, other, other_name, flag, status, create_time, msg_type, content);
	}

}
